package org.mm.xml.entities;

import java.util.Date;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;


/**
 * PatientXML
 *
 * @author Marco Traversari
 * @version $Revision: $ $Date: $ $Author: $
 */
@XmlType(propOrder={"userName", "firstName", "lastName", "birthDate", "email", "phone", "role"})
public class PatientXML extends UserXML {

	private Long id = null;

	private Date birthDate = null;

	/**
	 * getId
	 * @return id
	 */
	@XmlAttribute
	public Long getId() {
		return id;
	}

	/**
	 * setId
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * getBirthDate
	 * @return birthDate
	 */
	public Date getBirthDate() {
		return birthDate;
	}

	/**
	 * setBirthDate
	 * @param birthDate
	 */
	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}
}
